package com.kangye.exam.bean;


import com.kangye.exam.bean.Grade;

public class Teacher {

  private Integer teacherId;     //教师id
  private String teacherUser; //账号
  private String teacherPass; //密码
  private String teacherName; //真实姓名
  private String teacherSex;  //性别
  private Integer teacherAge;    //年龄
  private String teacherTel;  //电话
  private Integer classId;       //班级id
  private Integer gradeId;       //年级id
  private Grade grade;
  private Integer powerId;       //权限id
  private String teacherCreate;

  public Integer getTeacherId() {
    return teacherId;
  }

  public void setTeacherId(Integer teacherId) {
    this.teacherId = teacherId;
  }

  public String getTeacherUser() {
    return teacherUser;
  }

  public void setTeacherUser(String teacherUser) {
    this.teacherUser = teacherUser;
  }

  public String getTeacherPass() {
    return teacherPass;
  }

  public void setTeacherPass(String teacherPass) {
    this.teacherPass = teacherPass;
  }

  public String getTeacherName() {
    return teacherName;
  }

  public void setTeacherName(String teacherName) {
    this.teacherName = teacherName;
  }

  public String getTeacherSex() {
    return teacherSex;
  }

  public void setTeacherSex(String teacherSex) {
    this.teacherSex = teacherSex;
  }

  public Integer getTeacherAge() {
    return teacherAge;
  }

  public void setTeacherAge(Integer teacherAge) {
    this.teacherAge = teacherAge;
  }

  public String getTeacherTel() {
    return teacherTel;
  }

  public void setTeacherTel(String teacherTel) {
    this.teacherTel = teacherTel;
  }

  public Integer getClassId() {
    return classId;
  }

  public void setClassId(Integer classId) {
    this.classId = classId;
  }

  public Integer getGradeId() {
    return gradeId;
  }

  public void setGradeId(Integer gradeId) {
    this.gradeId = gradeId;
  }

  public Grade getGrade() {
    return grade;
  }

  public void setGrade(Grade grade) {
    this.grade = grade;
  }

  public Integer getPowerId() {
    return powerId;
  }

  public void setPowerId(Integer powerId) {
    this.powerId = powerId;
  }

  public String getTeacherCreate() {
    return teacherCreate;
  }

  public void setTeacherCreate(String teacherCreate) {
    this.teacherCreate = teacherCreate;
  }

  @Override
  public String toString() {
    return "Teacher{" +
            "teacherId=" + teacherId +
            ", teacherUser='" + teacherUser + '\'' +
            ", teacherPass='" + teacherPass + '\'' +
            ", teacherName='" + teacherName + '\'' +
            ", teacherSex='" + teacherSex + '\'' +
            ", teacherAge=" + teacherAge +
            ", teacherTel='" + teacherTel + '\'' +
            ", classId=" + classId +
            ", gradeId=" + gradeId +
            ", powerId=" + powerId +
            '}';
  }
}
